Induction
Almost every courses teach induction
Basic Induction: To prove use some base case and induction to prove for all.
- we have some flexibility on basic case where if we have goal to prove then we will prove
Basic Induction prove template:
Prove by induction.
Base case: [Prove P(0) is true]
Inductive step: Let k be arbitrary natural number, and assume P(k). we will show P(k+1)
Complete Induction: To prove use some base case and more induction steps to prove for all.
- similarly, we have flexibility on basic case.
Complete Induction prove template:
Prove by induction.
Base case: [Prove P(0) is true]
Inductive step: Let k be arbitrary natural number, and assume for every natural number i less equal than k, P(i) . we will show P(k+1)
A set generated from (basic set) by the functions in (a set of functions where stand for universe set of ) is the set of elements that can be obtained by applying to a finite number of times.
Structural Induction: Let be a set generated from by . on inputs
Define a construction sequence of length as where .
The length of a construction sequence is represented by some measure of complexity of the object.
WOP
WOP(Well Ordering Principle): has a minimal element.
- let is a minimal element
We can use WOP to prove induction statements of the form :
- Check is true, stand the basic case
- By contradiction, assume . So the set is non-empty
- By the WOP, has a minimal element, denote as ; commonly, is the smallest natural number for which doesn't hold.
- Derive the contradiction by showing or by finding a , for which